<!DOCTYPE html>
<html>
  <head>
    <title>mountebank - <%= title %></title>
    <meta charset='utf-8'>
    <meta name='description' content='<%= description %>' />
    <meta name='author' content='Brandon Byars' />

    <link rel='stylesheet' href='/stylesheets/jqueryui/1.10.4/themes/smoothness/jquery-ui.css' />
    <link rel='stylesheet' type='text/css' href='/stylesheets/application.css' />
    <!--[if IE]>
    <link rel='stylesheet' type='text/css' href='/stylesheets/ie.css' />
    <![endif]-->

    <link rel='shortcut icon' href='/images/favicon.ico' type='image/x-icon' />

    <script src='/scripts/jquery/jquery-3.3.1.min.js'></script>

    <% if (heroku) { -%>
    <script>
      (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
      (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
      m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
      })(window,document,'script','https://www.google-analytics.com/analytics.js','ga');

      ga('create', 'UA-46250848-1', 'auto');
      ga('send', 'pageview');

    </script>
    <script src='/scripts/trackOutgoingLinks.js'></script>
    <% } -%>
    <script src='/scripts/urlHashHandler.js'></script>
  </head>
  <body>
    <div id='main'>
      <header>
        <a href='/'><img src='/images/mountebank.png' alt='mountebank' /></a>
        <p>mountebank - over the wire test doubles</p>

        <form method='GET' action='http://www.google.com/search'>
          <input type='hidden' name='domains' value='www.mbtest.org' />
          <input type='hidden' name='sitesearch' value='www.mbtest.org' />
          <input type='search' name='q' id='q' results='5' autosave='mb' placeholder='Search...'/>
          <input type='submit' value='Search...' id='searchButton' />
        </form>

        <nav class='horizontal'>
          <ul>
            <li><a href='/'>home</a></li>
            <li><a href='/imposters'>imposters</a></li>
            <li><a href='/logs'>logs</a></li>
            <li><a href='/config'>config</a></li>
            <li><a href='/metrics' title='Prometheus metrics'>metrics</a></li>
            <li><a href='/feed' class='feed-icon' title='subscribe for release updates'></a></li>
          </ul>
        </nav>
      </header>

      <hr />

      <div id='sidenav'>
        <h3>the apothecary</h3>
        <nav class='vertical'>
          <ul>
            <li><a href='/docs/gettingStarted'>getting started</a></li>
            <li><a href='/docs/mentalModel'>mental model</a></li>
            <li><a href='/docs/clientLibraries'>client libraries</a></li>
            <li><a href='/docs/install'>install options</a></li>
            <li><a href='/docs/commandLine'>command line</a></li>
            <li><a href='/docs/security'>security</a></li>
            <li><a href='/faqs'>faqs</a></li>
            <li><a href='/support'>support</a></li>
          </ul>

          <p>api:</p>
          <ul>
            <li><a href='/docs/api/overview'>overview</a></li>
            <li><a href='/docs/api/contracts'>contracts</a></li>
            <li><a href='/docs/api/mocks'>mock verification</a></li>
            <li><a href='/docs/api/stubs'>stub responses</a></li>
            <li>
              <ul>
                <li><a href='/docs/api/proxies'>proxies</a></li>
                <li><a href='/docs/api/injection'>injection</a></li>
                <li><a href='/docs/api/behaviors'>behaviors</a></li>
              </ul>
            </li>
            <li><a href='/docs/api/predicates'>stub predicates</a></li>
            <li>
              <ul>
                <li><a href='/docs/api/xpath'>xpath</a></li>
                <li><a href='/docs/api/json'>json</a></li>
                <li><a href='/docs/api/jsonpath'>jsonpath</a></li>
              </ul>
            </li>
            <li><a href='/docs/api/errors'>errors</a></li>
          </ul>

          <p>builtin protocols:</p>
          <ul>
            <li><a href='/docs/protocols/http'>http</a></li>
            <li><a href='/docs/protocols/https'>https</a></li>
            <li><a href='/docs/protocols/tcp'>tcp</a></li>
            <li><a href='/docs/protocols/smtp'>smtp</a></li>
          </ul>

          <p>community plugins:</p>
          <ul>
            <li><a href='https://gitlab.com/dAnjou/mountebank-ldap'>ldap</a></li>
            <li><a href='https://github.com/cbrz/mountebank-grpc'>grpc</a></li>
            <li><a href='https://github.com/vamsib/mountebank-ws'>websockets</a></li>
            <li><a href='/docs/protocols/custom'>create your own</a></li>
          </ul>

          <p>the book:<br /><br />
              <a href='https://www.manning.com/books/testing-microservices-with-mountebank?utm_source=mb&utm_medium=affiliate&utm_campaign=book_byars_testing_12_20_18&a_aid=mb&a_bid=ee3288f4'>
                  <img src='/images/book.jpg' alt='Testing Microservices with Mountebank' width='130' height='163' />
              </a>
          </p>
        </nav>
      </div>

      <div id='content'>
